﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ThongSoKyThuat.ascx.vb"
    Inherits="Control_Raovat_ThongSoKyThuat" %>
<script type="text/javascript">

    $(function () {

        $(".TextBox:first").focus();
        $("#<%= btnHuy.ClientID %>").click(function () {
            self.parent.tb_remove();
        });
    });
</script>
<asp:UpdatePanel ID="uplThongsokythuat" runat="server">
    <ContentTemplate>
        <div class="BoxField">
            <div class="HeadTitle">
                <h3>
                    <asp:Label ID="Label3" runat="server" Text="THÔNG SỐ KỸ THUẬT" /></h3>
            </div>
            <div class="DivRequired">
                <span class="fieldRequired">&nbsp;</span>Trường yêu cầu nhập dữ liệu
            </div>
            <div class="Error">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="#FF3300" />
            </div>
            <div class="DivPortlet">
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="Label1" CssClass="TextLabel" runat="server" Text="Dai,rong,cao:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:TextBox ID="txtDaiRongCao" CssClass="TextBox" runat="server" Text="" />
                    </div>
                </div>
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="lblChieudaicoso" CssClass="TextLabel" runat="server" Text="Chiều dài cơ sở:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:TextBox ID="txtChieudaicoso" onkeypress='IntegerAndDecimal(event,this,false);'
                            CssClass="TextBox" runat="server" Text="" />
                        &nbsp;(m)</div>
                </div>
            </div>
            <div class="DivPortlet">
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="lblChieurongcoso" CssClass="TextLabel" runat="server" Text="Chiều rộng cơ sở:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:TextBox ID="txtChieurongcoso" onkeypress='IntegerAndDecimal(event,this,false);'
                            CssClass="TextBox" runat="server" Text="" />
                        &nbsp;(m)</div>
                </div>
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="lblTrongluongkhongtai" CssClass="TextLabel" runat="server" Text="Trọng lượng không tải:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:TextBox ID="txtTrongluongkhongtai" onkeypress='IntegerAndDecimal(event,this,false);'
                            CssClass="TextBox" runat="server" Text="" />
                        &nbsp;(kg)</div>
                </div>
            </div>
            <div class="DivPortlet">
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="lblDungtichbinhnhienlieu" CssClass="TextLabel" runat="server" Text="Dung tích bình nhiên liệu:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:TextBox ID="txtDungtichbinhnhienlieu" onkeypress='IntegerAndDecimal(event,this,false);'
                            CssClass="TextBox" runat="server" Text="" />
                        &nbsp;(l)</div>
                </div>
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="lblDongco" CssClass="TextLabel" runat="server" Text="Động cơ:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:DropDownList ID="ddlDongCo" runat="server" CssClass="TextBox" Width="163px">
                        </asp:DropDownList>
                    </div>
                </div>
            </div>
            <div class="DivPortlet">
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="lblKieudongco" CssClass="TextLabel" runat="server" Text="Kiểu động cơ:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:DropDownList ID="ddlKieuDongCo" runat="server" CssClass="TextBox" Width="163px">
                        </asp:DropDownList>
                    </div>
                </div>
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="lblDungtichxilanh" CssClass="TextLabel" runat="server" Text="Dung tích xi lanh:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:TextBox ID="txtDungtichxilanh" CssClass="TextBox" runat="server" Text="" onkeypress='IntegerAndDecimal(event,this,false);'
                            Width="160px" />
                        &nbsp;lit</div>
                </div>
            </div>
            <div class="DivPortlet">
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="lblPhanh" CssClass="TextLabel" runat="server" Text="Phanh:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:DropDownList ID="ddlPhanh" runat="server" CssClass="TextBox" Width="163px">
                        </asp:DropDownList>
                    </div>
                </div>
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="lblGiamsoc" CssClass="TextLabel" runat="server" Text="Giảm sóc:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:DropDownList ID="ddlGiamSoc" runat="server" CssClass="TextBox" Width="163px">
                        </asp:DropDownList>
                    </div>
                </div>
            </div>
            <div class="DivPortlet">
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="lblLopxe" CssClass="TextLabel" runat="server" Text="Lốp xe:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:DropDownList ID="ddlLopXe" runat="server" CssClass="TextBox" Width="163px">
                        </asp:DropDownList>
                    </div>
                </div>
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="lblVanhmam" CssClass="TextLabel" runat="server" Text="Vành mâm:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:DropDownList ID="ddlVanhMam" runat="server" CssClass="TextBox" Width="163px">
                        </asp:DropDownList>
                    </div>
                </div>
            </div>
            <div class="DivPortlet">
                <div class="DivRowPortlet">
                    <div class="DivLabelPortlet">
                        <asp:Label ID="lblThongsokhac" CssClass="TextLabel" runat="server" Text="Thông số khác:" />
                    </div>
                    <div class="DivTextBoxPortlet">
                        <asp:TextBox ID="txtDescription" CssClass="TextBox" runat="server" Text="" Height="100px"
                            Rows="5" TextMode="MultiLine" Width="460px" />
                    </div>
                </div>
            </div>
            <div class="DivRowPortlet">
                <div class="DivLabelPortlet">
                    &nbsp;&nbsp;&nbsp;</div>
                <div class="DivTextBoxPortlet">
                    <asp:Button ID="btnSave" runat="server" Text=" Lưu " CssClass="btn" />
                    <asp:Button ID="btnHuy" CausesValidation="false" runat="server" Text=" Hủy " CssClass="btn" />&nbsp;
                </div>
            </div>
        </div>
        <div style="display: none">
            <asp:HiddenField ID="hidID" Value="0" runat="server" />
            <asp:HiddenField ID="hidRaoVatId" Value="0" runat="server" />
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
